package linkedHashMap;

import java.util.LinkedHashMap;

public class Demo1 {
    public static void main(String[] args) {
        //linkedHashMap test
        LinkedHashMap<String,Integer> lhm = new LinkedHashMap<>();
        //添加数据
        lhm.put("a",11);
        lhm.put("b",33);
        lhm.put("c",22);
        lhm.put("a",44);
        //唯一,顺序性,相同会覆盖
        System.out.println(lhm);
    }
}
